<template>
    <svg class="rambler-icon" aria-hidden="true">
        <use :xlink:href="`#icon-${name}`" />
    </svg>
</template>

<script setup>
import { toRefs } from 'vue'
const props = defineProps({
    name: {
        type: String,
        required: true
    }
})
const { name } = toRefs(props)
</script>

<style scoped lang="less">
.rambler-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: middle;
}
</style>
